﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Revis.VClinicNet.Core.Domain.Credentials;

namespace Revis.VClinicNet.App.Internal.Dto
{
    public class WorkerUserDto
    {
        public long Id { get; set; }
        public string Login { get; set; }
        public bool IsActive { get; set; }
        public string FirstName { get; set; }
        public string Surname { get; set; }
        public WorkerUserRole Role { get; set; }
    }

    public class WorkerUserCreateDto
    {
        public long Id { get; set; }
        public string FirstName { get; set; }
        public string Surname { get; set; }
        public string Login { get; set; }
        public string Password { get; set; }
        public string RepeatedPassword { get; set; }
        public bool IsActive { get; set; }
        public WorkerUserRole Role { get; set; }
    }
    
    public class WorkerUserEditDto
    {
        public long Id { get; set; }
        public string FirstName { get; set; }
        public string Surname { get; set; }
        public string Login { get; set; }
        public bool IsActive { get; set; }
    }

    public class WorkerUserModifyPasswordDto
    {
        public long Id { get; set; }
        public string Password { get; set; }
        public string RepeatedPassword { get; set; }
    }

    public class WorkerUserInfoDto
    {
        public long Id { get; set; }
        public string Login { get; set; }
        public bool IsActive { get; set; }
        public string Name { get; set; }
    }
}
